<template>
  <header>
    <HelloWorld :msg="msg" v-if="falg" />
    <button @click="handlerFalg">hanbdle Falg</button>
    <button @click="hanbdleChageMsg">hanbdleChage msg</button>
  </header>
</template>

<script setup>
import { ref } from 'vue';
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue';
let falg = ref(true);
let msg = ref('hello vue3');
const handlerFalg = () => {
  falg.value = !falg.value;
};

const hanbdleChageMsg = () => {
  msg.value = msg.value + Date.now();
};
</script>